const baseUrl = 'http://localhost'
// const baseUrl='http://www.kirrito.top/mogu'

module.exports = {
    publicPath: '/mogupc',
    lintOnSave: false, // 关闭 eslint
    devServer: {
        proxy: {
            '/mogu': {
                target: baseUrl, // 对应自己的接口
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/mogu': '',
                },
            },
        },
    },
}
